Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EventHub #846

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft

Add EventHub #846

wants to merge 32 commits into from

Conversation

gritcsenko
Copy link
Owner

@gritcsenko gritcsenko commented May 27, 2024

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes:

Definition of done

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@gritcsenko gritcsenko self-assigned this May 27, 2024
@gritcsenko gritcsenko marked this pull request as draft May 27, 2024 17:49
Copy link

github-actions bot commented May 27, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

src/HomeInventory/HomeInventory.Application.Framework/HomeInventory.Application.Framework.csproj
  • MediatR@>= 0
src/HomeInventory/HomeInventory.Web.Framework/HomeInventory.Web.Framework.csproj
  • MediatR@>= 0

@github-actions github-actions bot added enhancement New feature or request maintenance labels May 27, 2024
Copy link

github-actions bot commented May 27, 2024

Test Results

259 tests  ±0   259 ✅ ±0   7s ⏱️ ±0s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 0dd2de9. ± Comparison against base commit 33966d7.

This pull request removes 17 and adds 17 tests. Note that renamed tests count towards both.
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests ‑ ShouldMap(instance: AuthenticateResult { Id = 01J5YG805XRSFSHHVQQ9VVA9ND, Token = Tokenebde221f-2ee4-4cdb-a8e5-0d4859654587 }, destination: typeof(HomeInventory.Contracts.LoginResponse))
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests ‑ ShouldMap(instance: LoginRequest { Email = Email746e5422-da16-4484-82d4-3b15c6688770, Password = Password95a07b88-7e6e-403c-bf48-3298a76e324d }, destination: typeof(HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateQuery))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: 01J5YG80F7KVBH4M29K96FH2SZ, destination: typeof(HomeInventory.Domain.ValueObjects.ProductId))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: 01J5YG80F7Q2S4Y1F8AKR2N9YM, destination: typeof(System.Ulid))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: Amount { Unit = Kelvin (01J5YG7ZR6ZEF8MJCMQEP988QY), Value = 32 }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.ProductAmountModel))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: ProductAmountModel { UnitName = "Piece", Value = 203 }, destination: typeof(HomeInventory.Domain.ValueObjects.Amount))
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests ‑ ShouldMap(instance: [email protected], destination: typeof(string))
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests ‑ ShouldMap(instance: 01J5YG802E8G0HABPGFC6F3Q7J, destination: typeof(System.Ulid))
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests ‑ ShouldMap(instance: RegisterRequest { Email = Email0e09af56-9895-4c5e-8ecb-36f617439f20, Password = Password9266b479-0ac8-430b-b8ba-ee9c9e8ea339 }, destination: typeof(HomeInventory.Application.Cqrs.Commands.Register.RegisterCommand))
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests ‑ ShouldMap(instance: RegisterRequest { Email = Email832b0382-0dd5-47d3-8114-e53faa65dc1c, Password = Passwordd304edf5-9baf-4161-a93e-c7db419c33f3 }, destination: typeof(HomeInventory.Application.Cqrs.Queries.UserId.UserIdQuery))
…
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests ‑ ShouldMap(instance: AuthenticateResult { Id = 01J6FGYE938DKJ12MBQQAQAKKQ, Token = Token56162473-2478-4ab3-b1e5-b420a39fd9f4 }, destination: typeof(HomeInventory.Contracts.LoginResponse))
HomeInventory.Tests.Systems.Mapping.ContractsMappingsTests ‑ ShouldMap(instance: LoginRequest { Email = Email2e37303c-7ec1-414b-b013-a043f36abefc, Password = Password3c136cee-86f4-4068-9dd6-ca86ee5df4e3 }, destination: typeof(HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateRequestMessage))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: 01J6FGYDXKCT9ZDGVXR9R3C93C, destination: typeof(System.Ulid))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: 01J6FGYDXKX9V6QBSVPE0XWDVY, destination: typeof(HomeInventory.Domain.ValueObjects.ProductId))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: Amount { Unit = Tablespoon (01J6FGYCB0EKR12NSZTA4XEWB3), Value = 192 }, destination: typeof(HomeInventory.Infrastructure.Persistence.Models.ProductAmountModel))
HomeInventory.Tests.Systems.Mapping.ModelMappingsTests ‑ ShouldMap(instance: ProductAmountModel { UnitName = "CubicMeter", Value = 16 }, destination: typeof(HomeInventory.Domain.ValueObjects.Amount))
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests ‑ ShouldMap(instance: [email protected], destination: typeof(string))
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests ‑ ShouldMap(instance: 01J6FGYD03V2FA279DEKZRGPAM, destination: typeof(System.Ulid))
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests ‑ ShouldMap(instance: RegisterRequest { Email = Email338b24dc-3ae5-4c65-be21-6e025d93a395, Password = Passwordba6dcf83-e78d-4a54-8d90-1184bdac5c4e }, destination: typeof(HomeInventory.Application.Cqrs.Commands.Register.RegisterUserRequestMessage))
HomeInventory.Tests.Systems.Mapping.UserManagementContractsMappingsTests ‑ ShouldMap(instance: RegisterRequest { Email = Email5c639030-6202-483e-a650-694bcb03844a, Password = Password7c32b37b-b610-4489-a8d6-81221ae9908c }, destination: typeof(HomeInventory.Application.Cqrs.Queries.UserId.UserIdQueryMessage))
…

♻️ This comment has been updated with latest results.

# Conflicts:
#	src/HomeInventory/Directory.Packages.props
# Conflicts:
#	src/HomeInventory/Directory.Packages.props
# Conflicts:
#	src/HomeInventory/Directory.Packages.props
#	src/HomeInventory/HomeInventory.Web.Framework/HomeInventory.Web.Framework.csproj
# Conflicts:
#	src/HomeInventory/HomeInventory.Application.UserManagement.Interfaces/Commands/RegisterCommand.cs
#	src/HomeInventory/HomeInventory.Application.UserManagement/Commands/RegisterCommandHandler.cs
#	src/HomeInventory/HomeInventory.Domain.Primitives/IEvent.cs
#	src/HomeInventory/HomeInventory.Domain.Primitives/Ids/CuidIdConverter.cs
#	src/HomeInventory/HomeInventory.Domain.Primitives/Ids/CuidIdentifierObject.cs
#	src/HomeInventory/HomeInventory.Domain.UserManagement/Events/UserCreatedDomainEvent.cs
#	src/HomeInventory/HomeInventory.Domain/DomainServiceCollectionExtensions.cs
#	src/HomeInventory/HomeInventory.Domain/Events/ProductAddedEvent.cs
#	src/HomeInventory/HomeInventory.Domain/Events/ProductRemovedEvent.cs
#	src/HomeInventory/HomeInventory.Infrastructure/Persistence/Models/OutboxMessage.cs
#	src/HomeInventory/HomeInventory.Tests/DependencyInjection/InfrastructureDependencyInjectionTests.cs
#	src/HomeInventory/HomeInventory.Tests/DependencyInjection/UserManagementInfrastructureDependencyInjectionTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Handlers/LoggingBehaviorTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Handlers/RegisterCommandHandlerTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Mapping/ModelMappingsTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Modules/BaseApiModuleGivenTestContext.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Persistence/EventsPersistenceServiceTests.cs
# Conflicts:
#	src/HomeInventory/Directory.Packages.props
#	src/HomeInventory/HomeInventory.Application.Framework/ImplicitUsings.cs
#	src/HomeInventory/HomeInventory.Application.Framework/Messaging/CommandHandler.cs
#	src/HomeInventory/HomeInventory.Application.Framework/Messaging/ICommand.cs
#	src/HomeInventory/HomeInventory.Application.Framework/Messaging/ICommandHandler.cs
#	src/HomeInventory/HomeInventory.Application.Framework/Messaging/IQuery.cs
#	src/HomeInventory/HomeInventory.Application.Framework/Messaging/IQueryHandler.cs
#	src/HomeInventory/HomeInventory.Application.Framework/Messaging/QueryHandler.cs
#	src/HomeInventory/HomeInventory.Application.UserManagement/Commands/RegisterCommandHandler.cs
#	src/HomeInventory/HomeInventory.Application.UserManagement/ImplicitUsings.cs
#	src/HomeInventory/HomeInventory.Application.UserManagement/Queries/UserIdQueryHandler.cs
#	src/HomeInventory/HomeInventory.Application/Cqrs/Behaviors/LoggingBehavior.cs
#	src/HomeInventory/HomeInventory.Application/Cqrs/Behaviors/UnitOfWorkRequestBehavior.cs
#	src/HomeInventory/HomeInventory.Application/Cqrs/Queries/Authenticate/AuthenticateQueryHandler.cs
#	src/HomeInventory/HomeInventory.Application/ImplicitUsings.cs
#	src/HomeInventory/HomeInventory.Core/IScope.cs
#	src/HomeInventory/HomeInventory.Core/OptionalExtensions.cs
#	src/HomeInventory/HomeInventory.Core/Scope.cs
#	src/HomeInventory/HomeInventory.Core/ScopeAccessorExtensions.cs
#	src/HomeInventory/HomeInventory.Domain.Primitives/BuilderObjectConverter.cs
#	src/HomeInventory/HomeInventory.Domain.Primitives/Errors/ObjectValidationError.cs
#	src/HomeInventory/HomeInventory.Domain.Primitives/ImplicitUsings.cs
#	src/HomeInventory/HomeInventory.Domain.Primitives/Messages/DomainEvent.cs
#	src/HomeInventory/HomeInventory.Domain.Primitives/ObjectConverter.cs
#	src/HomeInventory/HomeInventory.Domain.UserManagement/Events/UserCreatedDomainEvent.cs
#	src/HomeInventory/HomeInventory.Domain.UserManagement/Persistence/IUserRepository.cs
#	src/HomeInventory/HomeInventory.Domain/DomainServiceCollectionExtensions.cs
#	src/HomeInventory/HomeInventory.Domain/Events/ProductAddedEvent.cs
#	src/HomeInventory/HomeInventory.Domain/Events/ProductRemovedEvent.cs
#	src/HomeInventory/HomeInventory.Infrastructure.Framework/Repository.cs
#	src/HomeInventory/HomeInventory.Infrastructure.UserManagement/UserRepository.cs
#	src/HomeInventory/HomeInventory.Infrastructure/Persistence/Mapping/AmountObjectConverter.cs
#	src/HomeInventory/HomeInventory.Infrastructure/Persistence/Models/Configurations/PolymorphicDomainEventTypeResolver.cs
#	src/HomeInventory/HomeInventory.Tests.Framework/BaseContext.cs
#	src/HomeInventory/HomeInventory.Tests.Framework/ValuesCollection.cs
#	src/HomeInventory/HomeInventory.Tests.Framework/VariablesCollection.cs
#	src/HomeInventory/HomeInventory.Tests/Core/OptionExtensionsTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Handlers/AuthenticateQueryHandlerTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Handlers/LoggingBehaviorTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Handlers/RegisterCommandHandlerTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Handlers/UnitOfWorkBehaviorTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Handlers/UserIdQueryHandlerTests.cs
#	src/HomeInventory/HomeInventory.Tests/Systems/Modules/BaseApiModuleGivenTestContext.cs
#	src/HomeInventory/HomeInventory.Web.Framework/Infrastructure/HomeInventoryProblemDetailsFactory.cs
#	src/HomeInventory/HomeInventory.Web.Framework/Infrastructure/IProblemDetailsFactory.cs
#	src/HomeInventory/HomeInventory.Web.Framework/Infrastructure/ProblemDetailsFactoryExtensions.cs
#	src/HomeInventory/HomeInventory.Web.Framework/ValidationEndpointFilter.cs
#	src/HomeInventory/HomeInventory.Web.UserManagement/UserManagementModule.cs
Copy link

Code Coverage

Package Line Rate Branch Rate Health
HomeInventory.Web 76% 64%
HomeInventory.Web.UserManagement 100% 100%
HomeInventory.Domain.Primitives 69% 66%
HomeInventory.Domain.UserManagement 91% 100%
HomeInventory.Infrastructure 91% 75%
HomeInventory.Contracts.Validations 100% 100%
HomeInventory.Application.UserManagement 98% 100%
HomeInventory.Contracts.UserManagement.Validators 100% 92%
HomeInventory.Application.Framework 73% 65%
HomeInventory.Application.UserManagement.Interfaces 100% 100%
HomeInventory.Tests.Framework 82% 63%
HomeInventory.Application 92% 64%
HomeInventory.Core 65% 56%
HomeInventory.Infrastructure.UserManagement 93% 50%
HomeInventory.Domain 88% 89%
HomeInventory.Web.Framework 88% 53%
HomeInventory.Infrastructure.Framework 82% 44%
Summary 81% (1708 / 2109) 62% (372 / 602)

Minimum allowed line rate is 60%

Copy link

Summary

Summary
Generated on: 08/29/2024 - 16:54:37
Coverage date: 08/29/2024 - 16:54:21
Parser: Cobertura
Assemblies: 17
Classes: 234
Files: 217
Line coverage: 81.4% (1773 of 2177)
Covered lines: 1773
Uncovered lines: 404
Coverable lines: 2177
Total lines: 6181
Branch coverage: 62.8% (372 of 592)
Covered branches: 372
Total branches: 592
Method coverage: Feature is only available for sponsors
Tag: 2038_10619286079

Coverage

HomeInventory.Application - 92.5%
Name Line Branch
HomeInventory.Application 92.5% 63.8%
HomeInventory.Application.AssemblyReference 100%
HomeInventory.Application.BaseHealthCheck 88.8% 100%
HomeInventory.Application.Cqrs.Behaviors.LoggingRequestBehavior`2 86.6% 50%
HomeInventory.Application.Cqrs.Behaviors.UnitOfWorkRequestBehavior`2 88.8% 70%
HomeInventory.Application.Cqrs.Queries.Authenticate.AuthenticateRequestHand
ler
100% 100%
HomeInventory.Application.HealthCheckTags 100%
HomeInventory.Application.LogEvents 94.7% 62.5%
Microsoft.Extensions.DependencyInjection.ApplicationServiceCollectionExtens
ions
100%
HomeInventory.Application.Framework - 73.3%
Name Line Branch
HomeInventory.Application.Framework 73.3% 56.2%
HomeInventory.Application.Cqrs.DomainEvents.DomainEventNotification 100%
HomeInventory.Application.Cqrs.DomainEvents.DomainEventNotification`1 33.3%
HomeInventory.Application.Framework.FeatureFlag 100%
HomeInventory.Application.Framework.FeatureFlag`1 100%
HomeInventory.Application.Framework.FeatureManagerExtensions 0%
HomeInventory.Application.Framework.Mapping.BaseMapBuilder`1 100%
HomeInventory.Application.Framework.Mapping.BaseMappingsProfile 100%
HomeInventory.Application.Framework.Mapping.MapBuilder`1 91.6%
HomeInventory.Application.Framework.Mapping.MapBuilder`2 47.8% 25%
HomeInventory.Application.Framework.Mapping.TypeConverterAdapter`3 100%
HomeInventory.Application.MappingAssemblySource 100%
HomeInventory.Domain.Primitives.Messages.MessageObservableProvider 57.8% 42.8%
Microsoft.Extensions.DependencyInjection.ApplicationFrameworkServiceCollect
ionExtensions
100% 100%
HomeInventory.Application.UserManagement - 97.5%
Name Line Branch
HomeInventory.Application.UserManagement 97.5% 100%
HomeInventory.Application.Cqrs.Commands.Register.<RegisterUserRequestHandle
r>F40AE985558C3F33A905D74D29B7F62E9B9D4251CDE2E49CBA909E3F4525AA269__Extens
ions
100%
HomeInventory.Application.Cqrs.Commands.Register.RegisterUserRequestHandler 100% 100%
HomeInventory.Application.Cqrs.DomainEvents.UserCreatedDomainEventHandler 0%
HomeInventory.Application.Cqrs.Queries.UserId.UserIdQueryMessageHandler 100%
HomeInventory.Application.UserManagement.AssemblyReference 100%
HomeInventory.Application.UserManagement.Interfaces -
Name Line Branch
HomeInventory.Application.UserManagement.Interfaces **** ****
HomeInventory.Contracts.UserManagement.Validators - 100%
Name Line Branch
HomeInventory.Contracts.UserManagement.Validators 100% 91.6%
HomeInventory.Contracts.UserManagement.Validators.AssemblyReference 100%
HomeInventory.Contracts.Validations.PasswordCharacterSet 100%
HomeInventory.Contracts.Validations.PasswordCharacterSets 100%
HomeInventory.Contracts.Validations.PasswordValidator`1 100% 100%
HomeInventory.Contracts.Validations.PasswordValidatorOptions 100% 100%
HomeInventory.Contracts.Validations.RegisterRequestValidator 100%
HomeInventory.Contracts.Validations.RuleBuilderExtensions 100% 50%
HomeInventory.Contracts.Validations - 100%
Name Line Branch
HomeInventory.Contracts.Validations 100% ****
HomeInventory.Contracts.Validations.AssemblyReference 100%
HomeInventory.Contracts.Validations.LoginRequestValidator 100%
HomeInventory.Core - 65.1%
Name Line Branch
HomeInventory.Core 65.1% 55.8%
HomeInventory.Core.AnonymousAsyncDisposable 100% 100%
HomeInventory.Core.AssemblyReference 0%
HomeInventory.Core.CollectionExtensions 60% 75%
HomeInventory.Core.DictionaryExtensions 100% 100%
HomeInventory.Core.DisposableBase 8.1% 0%
HomeInventory.Core.DisposableExtensions 88.8% 50%
HomeInventory.Core.EnumerableExtensions 57.1% 60%
HomeInventory.Core.Execute 100%
HomeInventory.Core.Functional 100% 100%
HomeInventory.Core.LazyExtensions 100% 100%
HomeInventory.Core.OptionExtensions 85.7% 75%
HomeInventory.Core.PowerExtensions 0% 0%
HomeInventory.Core.Scope`1 88.8% 75%
HomeInventory.Core.ScopeAccessor 66.6%
HomeInventory.Core.ScopeAccessorExtensions 100% 100%
HomeInventory.Core.ScopeContainer 100%
HomeInventory.Core.ScopeFactory 100%
HomeInventory.Core.TypeExtensions 100% 100%
HomeInventory.Core.ValidationExtensions 71.4% 75%
HomeInventory.Domain.Primitives.Errors.ValidationError 100%
HomeInventory.Domain.Primitives.Errors.ValidationException 100%
HomeInventory.Domain - 91%
Name Line Branch
HomeInventory.Domain 91% 88.2%
HomeInventory.Domain.AssemblyReference 0%
HomeInventory.Domain.Entities.Material 0%
HomeInventory.Domain.Entities.Product 0%
HomeInventory.Domain.Errors.DuplicateProductError 0%
HomeInventory.Domain.Errors.InvalidCredentialsError 100%
HomeInventory.Domain.Events.ProductAddedEvent 0%
HomeInventory.Domain.Events.ProductRemovedEvent 0%
HomeInventory.Domain.FixedTimeProvider 100%
HomeInventory.Domain.ValueObjects 95.6% 88.8%
HomeInventory.Domain.ValueObjects.Amount 100%
HomeInventory.Domain.ValueObjects.AmountFactory 100% 87.5%
HomeInventory.Domain.ValueObjects.AmountUnit 100%
HomeInventory.Domain.ValueObjects.MaterialId 0%
HomeInventory.Domain.ValueObjects.MeasurementType 90.9%
HomeInventory.Domain.ValueObjects.ProductId 100%
Microsoft.Extensions.DependencyInjection.DomainServiceCollectionExtensions 100%
HomeInventory.Domain.Primitives - 68.8%
Name Line Branch
HomeInventory.Domain.Primitives 68.8% 70%
HomeInventory.Domain.Primitives.AggregateRoot`2 80%
HomeInventory.Domain.Primitives.AssemblyReference 0%
HomeInventory.Domain.Primitives.BaseEnumeration`1 87.5%
HomeInventory.Domain.Primitives.BaseEnumeration`2 100%
HomeInventory.Domain.Primitives.BuilderObjectConverter`3 100%
HomeInventory.Domain.Primitives.Entity`2 100%
HomeInventory.Domain.Primitives.EnumerationItemsCollection 100%
HomeInventory.Domain.Primitives.EnumerationItemsCollection`1 87.5% 100%
HomeInventory.Domain.Primitives.Equatable`1 100% 83.3%
HomeInventory.Domain.Primitives.EquatableComponent`1 70% 50%
HomeInventory.Domain.Primitives.Errors.ConflictError 100%
HomeInventory.Domain.Primitives.Errors.NotFoundError 100%
HomeInventory.Domain.Primitives.Errors.ValueNotSpecifiedError 0%
HomeInventory.Domain.Primitives.Events.EventsCollection 50%
HomeInventory.Domain.Primitives.Ids.BuildableIdentifierObject`3 100%
HomeInventory.Domain.Primitives.Ids.DelegatingIdSupplier`1 100%
HomeInventory.Domain.Primitives.Ids.IdentifierObject`2 66.6%
HomeInventory.Domain.Primitives.Ids.IdentifierObjectBuilder`3 100% 100%
HomeInventory.Domain.Primitives.Ids.IdSuppliers 100%
HomeInventory.Domain.Primitives.Ids.UlidIdentifierObject`1 100%
HomeInventory.Domain.Primitives.Ids.UlidIdentifierObjectBuilder`1 100%
HomeInventory.Domain.Primitives.Messages.CancellableRequest`2 0%
HomeInventory.Domain.Primitives.Messages.DomainEvent 100%
HomeInventory.Domain.Primitives.Messages.MessageHandlerAdapter`1 0%
HomeInventory.Domain.Primitives.Messages.MessageHandlerAdapterBase`2 0%
HomeInventory.Domain.Primitives.Messages.MessageHub 91.6% 50%
HomeInventory.Domain.Primitives.Messages.MessageHubExtensions 93.3% 100%
HomeInventory.Domain.Primitives.Messages.QueryHandler`2 66.6%
HomeInventory.Domain.Primitives.Messages.RequestHandlerAdapter`2 0% 0%
HomeInventory.Domain.Primitives.ObjectConverter`2 100%
HomeInventory.Domain.Primitives.ValueObject`1 100%
HomeInventory.Domain.Primitives.ValueObjectBuilder`3 70% 66.6%
HomeInventory.Domain.UserManagement - 90.9%
Name Line Branch
HomeInventory.Domain.UserManagement 90.9% ****
HomeInventory.Domain.Aggregates.User 100%
HomeInventory.Domain.Errors.DuplicateEmailError 100%
HomeInventory.Domain.Events.UserCreatedDomainEvent 100%
HomeInventory.Domain.UserManagement.AssemblyReference 0%
HomeInventory.Domain.ValueObjects.Email 100%
HomeInventory.Domain.ValueObjects.UserId 100%
HomeInventory.Infrastructure - 90.5%
Name Line Branch
HomeInventory.Infrastructure 90.5% 75%
HomeInventory.Infrastructure.AssemblyReference 100%
HomeInventory.Infrastructure.Persistence.DatabaseContext 100% 100%
HomeInventory.Infrastructure.Persistence.Mapping.AmountObjectConverter 100%
HomeInventory.Infrastructure.Persistence.Mapping.ModelMappings 100%
HomeInventory.Infrastructure.Persistence.Models.Configurations.OutboxDataba
seConfigurationApplier
100%
HomeInventory.Infrastructure.Persistence.Models.Configurations.OutboxMessag
eConfiguration
84.6% 0%
HomeInventory.Infrastructure.Persistence.Models.Configurations.PolymorphicD
omainEventTypeResolver
100% 100%
HomeInventory.Infrastructure.Persistence.Models.Interceptors.PublishDomainE
ventsInterceptor
100% 100%
HomeInventory.Infrastructure.Services.EventsPersistenceService 100%
HomeInventory.Infrastructure.Services.PersistenceHealthCheck 69.2% 62.5%
Microsoft.Extensions.DependencyInjection.InfrastructureServiceCollectionExt
ensions
100%
HomeInventory.Infrastructure.Framework - 81.9%
Name Line Branch
HomeInventory.Infrastructure.Framework 81.9% 39.2%
HomeInventory.Infrastructure.Framework.AssemblyReference 0%
HomeInventory.Infrastructure.Framework.Mapping.MappingExtensions 100% 7.1%
HomeInventory.Infrastructure.Persistence.BaseDatabaseConfigurationApplier`2 50% 0%
HomeInventory.Infrastructure.Persistence.Models.Configurations.EntityTypeBu
ilderExtensions
100%
HomeInventory.Infrastructure.Persistence.Models.Configurations.IdValueConve
rter`2
100%
HomeInventory.Infrastructure.Persistence.Repository`3 82.3% 75%
HomeInventory.Infrastructure.Specifications.ByIdFilterSpecification`2 100%
Microsoft.Extensions.DependencyInjection.InfrastructureFrameworkServiceColl
ectionExtensions
75% 100%
HomeInventory.Infrastructure.UserManagement - 92.8%
Name Line Branch
HomeInventory.Infrastructure.UserManagement 92.8% 50%
HomeInventory.Infrastructure.Persistence.Models.Configurations.UserModelCon
figuration
100%
HomeInventory.Infrastructure.Persistence.Models.Configurations.UserModelDat
abaseConfigurationApplier
100%
HomeInventory.Infrastructure.Persistence.UserRepository 100%
HomeInventory.Infrastructure.Services.BCryptPasswordHasher 100%
HomeInventory.Infrastructure.Specifications.UserHasEmailSpecification 57.1%
HomeInventory.Infrastructure.UserManagement.AssemblyReference 100%
HomeInventory.Infrastructure.UserManagement.Mapping.UserManagementModelMapp
ings
100%
HomeInventory.Infrastructure.UserManagement.Models.Configurations.DomainEve
ntJsonTypeInfo
100% 50%
Microsoft.Extensions.DependencyInjection.InfrastructureUserManagementServic
eCollectionExtensions
100%
HomeInventory.Tests.Framework - 81.8%
Name Line Branch
HomeInventory.Tests.Framework 81.8% 62.8%
HomeInventory.Tests.Framework.Assertions.AssertionExtensions 66.6%
HomeInventory.Tests.Framework.Assertions.JsonElementAssertions 48.5% 100%
HomeInventory.Tests.Framework.Assertions.ObjectAssertions`1 100%
HomeInventory.Tests.Framework.Assertions.ObjectExtensions 93.7% 56.2%
HomeInventory.Tests.Framework.Assertions.OkResultAssertions`1 100%
HomeInventory.Tests.Framework.Assertions.QueryResultAssertions`1 70.3% 66.6%
HomeInventory.Tests.Framework.Assertions.RouteEndpointAssertions 100%
HomeInventory.Tests.Framework.Assertions.ServiceCollectionAssertions 100% 100%
HomeInventory.Tests.Framework.Assertions.ServiceDescriptorExtensions 100% 100%
HomeInventory.Tests.Framework.Assertions.UlidAssertions 100%
HomeInventory.Tests.Framework.Assertions.UlidAssertions`1 40.7% 0%
HomeInventory.Tests.Framework.Attributes.ArchitectureTestAttribute 100%
HomeInventory.Tests.Framework.Attributes.CategoryTraitAttribute 100%
HomeInventory.Tests.Framework.Attributes.CategoryTraitDiscoverer 100% 66.6%
HomeInventory.Tests.Framework.Attributes.ClassDataAttribute`1 100%
HomeInventory.Tests.Framework.Attributes.IntegrationTestAttribute 0%
HomeInventory.Tests.Framework.Attributes.InvariantCultureAttribute 100%
HomeInventory.Tests.Framework.Attributes.SkippedAttribute 0%
HomeInventory.Tests.Framework.Attributes.TestPriorityAttribute 0%
HomeInventory.Tests.Framework.Attributes.UnitTestAttribute 100%
HomeInventory.Tests.Framework.BaseContext 100%
HomeInventory.Tests.Framework.BaseTest 100% 100%
HomeInventory.Tests.Framework.BaseTest`1 100%
HomeInventory.Tests.Framework.CancellationImplementation 75% 100%
HomeInventory.Tests.Framework.Customizations.ApiBehaviorOptionsCustomizatio
n
100%
HomeInventory.Tests.Framework.Customizations.FixtureExtensions 95% 100%
HomeInventory.Tests.Framework.Customizations.RegisterRequestCustomization 100% 100%
HomeInventory.Tests.Framework.DbContextFactory 100% 50%
HomeInventory.Tests.Framework.GivenContext`1 96.7% 83.3%
HomeInventory.Tests.Framework.GivenContext`2 100%
HomeInventory.Tests.Framework.GivenContext`3 100%
HomeInventory.Tests.Framework.IndexedVariable`1 100%
HomeInventory.Tests.Framework.PriorityTestOrderer 100% 83.3%
HomeInventory.Tests.Framework.PropertyValue`1 100%
HomeInventory.Tests.Framework.RandomExtensions 37.5% 30%
HomeInventory.Tests.Framework.ReflectionDbContextFactory 100% 50%
HomeInventory.Tests.Framework.ReflectionMethods 100%
HomeInventory.Tests.Framework.ServiceCollectionExtensions 100%
HomeInventory.Tests.Framework.SubstitutionDbContextFactory 100%
HomeInventory.Tests.Framework.TestingLogger`1 33.3%
HomeInventory.Tests.Framework.ThenCatchedContext 100%
HomeInventory.Tests.Framework.ThenContext 100%
HomeInventory.Tests.Framework.ThenContext`1 100%
HomeInventory.Tests.Framework.Variable 100%
HomeInventory.Tests.Framework.Variable`1 75%
HomeInventory.Tests.Framework.VariablesCollectionExtensions 83.3% 50%
HomeInventory.Tests.Framework.VariablesContainer 100% 100%
HomeInventory.Tests.Framework.VariableValues`1 88% 59%
HomeInventory.Tests.Framework.WhenContext 92.3%
HomeInventory.Web - 76%
Name Line Branch
HomeInventory.Web 76% 63.8%
HomeInventory.Web.AssemblyReference 100%
HomeInventory.Web.Authentication.GuidJwtIdentityGenerator 100%
HomeInventory.Web.Authentication.JwtTokenGenerator 100%
HomeInventory.Web.Authorization.Dynamic.DynamicAuthorizationHandler 0% 0%
HomeInventory.Web.Authorization.Dynamic.DynamicPermissionRequirement 50%
HomeInventory.Web.Configuration.CorrelationIdContainer 100%
HomeInventory.Web.Configuration.JwtBearerOptionsSetup 100%
HomeInventory.Web.Configuration.JwtOptions 100% 100%
HomeInventory.Web.Configuration.Validation.JwtOptionsValidator 100%
HomeInventory.Web.Mapping.ContractsMappings 100%
HomeInventory.Web.Mapping.LoginRequestConverter 0%
HomeInventory.Web.Middleware.BaseScopeInjectionMiddleware`1 0%
HomeInventory.Web.Middleware.CorrelationIdMiddleware 100% 100%
HomeInventory.Web.Middleware.HeaderNames 100%
HomeInventory.Web.Middleware.MapperScopeInjectionMiddleware 0%
HomeInventory.Web.Middleware.MessageHubScopeInjectionMiddleware 0%
HomeInventory.Web.Middleware.ProblemDetailsFactoryScopeInjectionMiddleware 0%
HomeInventory.Web.Middleware.ProblemTraceIdentifierMiddleware 0%
HomeInventory.Web.Middleware.UnitOfWorkScopeInjectionMiddleware 0%
HomeInventory.Web.Modules.AuthenticationModule 100%
HomeInventory.Web.Modules.PermissionModule 83.3%
HomeInventory.Web.OpenApi.ConfigureSwaggerOptions 72.9% 31.2%
HomeInventory.Web.OpenApi.DeprecatedSwaggerOperationFilter 100%
HomeInventory.Web.OpenApi.JsonOpenApiValueConverter 100% 100%
HomeInventory.Web.OpenApi.ParametersSwaggerOperationFilter 100% 100%
HomeInventory.Web.OpenApi.ResponsesSwaggerOperationFilter 100% 100%
HomeInventory.Web.OpenApi.SwaggerDefaultValues 100% 100%
Microsoft.Extensions.DependencyInjection.DynamicAuthorizationServiceCollect
ionExtensions
94.1% 83.3%
Microsoft.Extensions.DependencyInjection.WebServiceCollectionExtensions 95.3% 66.6%
HomeInventory.Web.Framework - 88.1%
Name Line Branch
HomeInventory.Web.Framework 88.1% 58.5%
HomeInventory.Web.EndpointRouteBuilderExtensions 100%
HomeInventory.Web.Framework.FluentOptionsValidator 50%
HomeInventory.Web.Framework.FluentOptionsValidator`1 92.3% 50%
HomeInventory.Web.Framework.MappingExtensions 100% 12.5%
HomeInventory.Web.Framework.SectionPath 85.7%
HomeInventory.Web.Framework.ValidationContextFactory`1 100% 100%
HomeInventory.Web.Infrastructure.ErrorMapping 100% 100%
HomeInventory.Web.Infrastructure.ErrorMappingBuilder 100%
HomeInventory.Web.Infrastructure.HomeInventoryProblemDetailsFactory 100% 88.8%
HomeInventory.Web.Infrastructure.ProblemDetailsExtensions 92.8% 79.1%
HomeInventory.Web.Infrastructure.ProblemDetailsFactoryExtensions 62.5% 0%
HomeInventory.Web.Modules.ApiModule 92.3%
HomeInventory.Web.RouteHandlerBuilderExtensions 100%
HomeInventory.Web.ValidationEndpointFilter`1 13.3% 0%
Microsoft.Extensions.DependencyInjection.WebFrameworkServiceCollectionExten
sions
100%
HomeInventory.Web.UserManagement - 100%
Name Line Branch
HomeInventory.Web.UserManagement 100% ****
HomeInventory.Web.Modules.UserManagementModule 100%
HomeInventory.Web.UserManagement.AssemblyReference 100%
HomeInventory.Web.UserManagement.UserManagementContractsMappings 100%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant